import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import * as echarts from 'echarts';
import '../node_modules/echarts/map/js/china';

import VueQuillEditor from 'vue-quill-editor'
// 引用时间组件
import moment from "moment"
Vue.prototype.$moment = moment;
Vue.prototype.$echarts = echarts;
 
// 引入样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

 
Vue.use(VueQuillEditor, /* { 默认全局 } */)


Vue.use(ElementUI);


// 为vue对象注入自定义属性（全局变量）
import BASEURL from './http/BaseUrl'
const UPLOADURL = BASEURL.UPLOADURL
Vue.prototype.UPLOADURL = UPLOADURL
Vue.prototype.echarts = echarts

// Vue.use(echarts)
Vue.config.productionTip = false
// 设置高德地图的安全密钥
window._AMapSecurityConfig = {
  securityJsCode: '931893de327495868bbf4c5aa3e0a380',
}

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
